#include "sorderview.h"
#include <QLabel>
#include <QHBoxLayout>

SOrderView::SOrderView(QWidget *parent)
    : QWidget{parent}
{
    setupUI();
    applyStyles();
    setupConnections();
}


void SOrderView::setupUI(){
    QLabel* title = new QLabel("点单页");

    m_billview = new BillView;
    QHBoxLayout* mainLayout = new QHBoxLayout;
    // mainLayout->setAlignment(Qt::AlignVCenter);
    mainLayout->setContentsMargins(12, 6, 12, 6);

    mainLayout->addWidget(m_billview, 1);
    mainLayout->addWidget(title);
    mainLayout->addStretch();
    setLayout(mainLayout);
};

void SOrderView::applyStyles(){

};

void SOrderView::setupConnections(){

};
